package cjClearMsg;


import static cangjie.lang.LibraryLoader.loadLibrary;

public class ClearMsgJava {
    static {
        loadLibrary("libcjClearMsg.so");
    }

    long self;

    public ClearMsgJava() {
        self = initCJObject();
    }

    public native long initCJObject();

    public native void deleteCJObject(long self);

    @Override
    public void finalize() {
        deleteCJObject(this.self);
    }
}
